﻿<Window x:Class="RaygunDiplomacy.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:i="clr-namespace:System.Windows.Interop;assembly=PresentationCore"
        Title="MainWindow" Height="350" Width="500"
                  Loaded="MainWindow_Loaded">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="auto" />
        </Grid.ColumnDefinitions>
        <Image Grid.Column="0" x:Name="imageHost" Stretch="Fill" Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
            <Image.Source>
                <i:D3DImage x:Name="d3dImage" />
            </Image.Source>
        </Image>
        <StackPanel  Grid.Column="1">
            <TextBlock MinHeight="23"  Margin="3" Name="testBox" Text="TextBlock" MaxWidth="300"/>
            <Button Content="Reverse" Height="23" Margin="3" Name="reverseButton" Width="75" Click="reverseButton_Click" />
        </StackPanel>
    </Grid>
</Window>
